For the exchange between 2 ingenious.V12 databases, contact data records including linked information such as additional addresses, project-related texts, special prices, documents & appointments, file attachments, user fields and links to contact folders can be exported and imported in XML format.
The API Tool_XML_Export_Contacts can be started with 2 optional variables:
| vbSelectOrder |
| ||||
| vsExportPath |
|
| Export of manually selected contacts |
Copy Code |
|---|---|
vbSelectOrder:=True vsExportPath:="D:"+<>PathSep+"Contact-Interface"+<>PathSep Tool_XML_Export_Contacts sys_ShellExecute ("open";vsExportPath;"";"";SW_SHOWNORMAL) | |
To export the contacts from the contact list, the script must be created as a saved script and assigned to the contact list.
In the contact list all required data records are to be marked for the export and the export can be started via the entry (according to the name under which the script was created) "XML_Contact_Export".
The export folder is then opened in accordance with the call "sys_ShellExecute (" open "; vsExportPath;" ";" "; SW_SHOWNORMAL)". The exported data records were created.
The contacts XML export can alternatively be started directly in the script module. Here you must explicitly specify which contacts are to be exported.
| Contact export via script search |
Copy Code |
|---|---|
vbSelectOrder:=False QUERY([Kontakte];[Kontakte]Matchcode="@muster@") vsExportPath:="D:"+<>PathSep+"Contact-Interface2"+<>PathSep Tool_XML_Export_Contacts sys_ShellExecute ("open";vsExportPath;"";"";SW_SHOWNORMAL) | |
The exported data records are written to the specified folder.
The import of the contact data records is carried out via the API Tool_XML_Import_Contacts. The following optional variables are available:
| vsImportPath |
| ||||
| vsImportDonePath |
|
| Script for importing contacts |
Copy Code |
|---|---|
vsImportPath:="D:"+<>PathSep+"Contact-Interface2"+<>PathSep vsImportDonePath:="D:"+<>PathSep+"Contact-Interface"+<>PathSep+"Imported"+<>PathSep Tool_XML_Import_Contacts | |